Method and system for controlling fuel usage

ABSTRACT

Methods and systems are provided for improving fuel usage while addressing knock by adjusting the use of spark retard and direct injection of a knock control fluid based on engine operating conditions and the composition of the injected fluid. One or more engine parameters, such as EGR, VCT, boost, throttle position, and CMCV, are coordinated with the direct injection to reduce torque and EGR transients.

The present application is a continuation of U.S. patent applicationSer. No. 12/846,725 filed Jul. 29, 2010, now U.S. Pat. No. 8,127,745 B2,issued on Mar. 6, 2012, the entire contents of which are incorporatedherein by reference for all purposes.

FIELD

The present application relates to methods and systems for controllinguse of various fuels in an internal combustion engine.

BACKGROUND AND SUMMARY

Alternate fuels have been developed to mitigate the rising prices ofconventional fuels and for reducing exhaust emissions. For example,alcohol and alcohol-containing fuel blends have been recognized asattractive alternative fuels, in particular for automotive applications.Various engine systems may be used with alcohol fuels, utilizing variousengine technologies and injection technologies. Further, variousapproaches may be used to control such alcohol-fuelled engines to takeadvantage of the high octane alcohol fuel, in particular to addressengine knocking. For example, engine control methods may includeadjustment of boost or spark timing in dependence upon the alcohol fuel,and various other engine operating conditions.

However, the inventors herein have recognized that in addition to aninherent octane effect, an injected fuel may also have a charge coolingeffect and an engine dilution effect that depends on the composition ofthe fuel. For example, in addition to a higher octane number as comparedto gasoline, alcohol fuels may also have a higher charge cooling effectthat is not represented in the octane number. Thus, fuel injectionsbased only on an inherent octane number of a fuel may lead tooverconsumption of the fuel, and necessitate more frequent refueling. Inthe case of fuel blends, the inherent octane number of a fuel may bebased on the volumetric composition (e.g., alcohol concentration) of thefuel. However, the non-linear relationship between the volumetriccomposition of the fuel and the octane number can make calculation ofengine control adjustments complex.

Thus, in one example, the above issue may be at least partly addressedby a method of operating an engine comprising, in response to engineknock, retarding ignition spark timing by a first amount and directinjecting a second amount of a knock control fluid, the first amount ofspark retard and the second amount of fluid injection adjusted based ona combination of inherent octane of the fluid, dilution effect of thefluid, and evaporation effect of the fluid.

In one example, a vehicle engine may be configured to use a plurality offluids, including fuels and fuel blends. The engine may include a directinjector for direct injecting a fluid (such as, water and/or a fuel orfuel blend) into the engine cylinder. The engine may further include aport injector for port injecting a fluid (such as, water and/or a fuelor fuel blend) into the engine cylinder. In response to engine knock, anengine controller may address the knocking with at least some sparkretard before adjusting a fluid injection. The amount of spark retardand the amount of fluid injection may be adjusted based on engineoperating conditions (such as the knock intensity, the engine speed andload, etc.) and further based on a combination of an inherent octaneeffect of the fluid, a dilution effect of the fluid, and an evaporationeffect of the fluid. A port injection may then be adjusted based on thedetermined direct injection.

In one example, the inherent octane effect of the fluid may becalculated based on the molar composition of the fluid. For example, thefluid may be a fuel blend including at least two constituent fuels, suchas gasoline and ethanol. Herein, the molar composition may be determinedbased on the molar and/or volumetric fraction, molecular weight, anddensity of each constituent fuel in the fuel blend. In one example, byusing a molar composition of the fuel to determine the inherent octaneeffect of the injected fluid, a linear correlation between the fuelcomposition (for example, the alcohol content) and the inherent octaneeffect (for example, the inherent octane number, or RON) may beachieved, thereby simplifying the calculation of engine adjustmentsbased on fuel type. As such, the evaporation effect of the injectedfluid may be based on the charge cooling properties of the fluid whilethe dilution effect of the injected fluid may be based on the chargedilution effects of the injected fluid.

In one example, spark timing may be retarded up to a predeterminedtiming based on the molar composition of the fluid. For example, wherethe injected fluid is a fuel blend including alcohol (e.g., ethanol ormethanol), the predetermined timing may be retarded further away fromMBT as the molar fraction of alcohol in the blended fuel increases. Inalternate examples, the injected fluid may be one or more of ethanol,methanol, other alcohols, gasoline, water, and combinations thereof. Ineach case, the adjustments may be based on a combination of the inherentoctane effect, dilution effect, and evaporation effect of the selectedfluid. By addressing knock using at least some spark retard beforedirect injecting a knock control fluid, knock control may be achievedwhile improving engine fuel economy.

The dilution effect of the injected fluid may also affect the overallengine dilution. Thus, based on the desired engine dilution (asdetermined by the engine operating conditions and desired torque), andthe dilution effect of the injected fluid, an engine operating parametermay be adjusted. In one example, the engine operating parameter that isadjusted may be an amount of exhaust gas recirculation (EGR). Theadjustment may include, when the direct injected fluid has a higherdilution effect, decreasing the amount of EGR provided to the engine asthe amount of fluid injected is increased. Herein, the injected fluidmay be advantageously used to address knock while also providing some ofthe desired engine dilution. In comparison, when the injected fluid hasa lower dilution effect, the amount of EGR provided to the engine may bemaintained while the amount of fluid that is injected is increased.Herein, the injected fluid may be largely used to address knock whileEGR is used to largely provide the desired engine dilution. In alternateexamples, the adjusted parameter may include an engine operatingparameter having an effect on the dilution of the engine, such as avariable cam timing (VCT), an amount of valve lift, an engine boost,etc. Herein, as with EGR, as the dilution effect of the injected fluidincreases, the amount of dilution due to VCT retard, valve lift, orboost may be decreased while the amount of fluid that is injected isincreased. Still other engine operating parameters may also be adjustedbased on the amount and dilution effect of the injected fluid. In thisway, engine operating parameters may be adjusted based on the dilutioneffect of an injected fluid to synergize the addressing of engine knockwith the providing of a desired engine dilution.

It should be understood that the summary above is provided to introducein simplified form a selection of concepts that are further described inthe detailed description. It is not meant to identify key or essentialfeatures of the claimed subject matter, the scope of which is defineduniquely by the claims that follow the detailed description.Furthermore, the claimed subject matter is not limited toimplementations that solve any disadvantages noted above or in any partof this disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an example embodiment of an engine combustion chamber;

FIG. 2 shows a map depicting variations in fuel economy loss and torqueratio with varying spark retard;

FIG. 3 shows a map that may be used to identify an adjustment thresholdpoint by comparing fuel economy losses due to spark retard with fueleconomy losses due to an ethanol fuel injection;

FIG. 4 shows a map comparing losses due to spark retard with losses dueto an ethanol fuel injection for various cost functions;

FIGS. 5A-B show a high level flow chart illustrating a routine that maybe implemented for adjusting an amount of spark retard and a fuelinjection to address engine knock;

FIG. 6 shows a high level flow chart for adjusting an engine dilutionand engine burn rate based on the availability of a knock control fluid;

FIG. 7 shows a map that may be used to adjust the threshold point forusage of spark retard and a high octane fuel injection based on enginespeed-load conditions;

FIG. 8 shows a high level flow chart illustrating a routine that may beimplemented for adjusting the threshold point for usage of spark retardand high octane fuel injection based on various engine operatingcondition limitations;

FIG. 9 shows a map illustrating an example usage of spark retard anddirect injection of an ethanol fuel to address knock, according to thepresent disclosure;

FIGS. 10-11 show maps illustrating example adjustments to the usage ofspark retard and direct injection of a knock control fluid based on theamount of fuel injected;

FIG. 12 shows a map illustrating example changes in a direct injectionof water responsive to EGR transients;

FIG. 13 shows a map illustrating example throttle adjustments responsiveto a timing (relative to IVC) of the direct injection of water.

DETAILED DESCRIPTION

The following description relates to systems and methods for improvingthe efficiency of fuel usage in flex-fueled engines, such as the engineof FIG. 1. In response to engine knocking, an amount of spark retard anda knock control fluid injection may be used to address the knock.Specifically, spark may be retarded up to a predetermined amount ofretard (such as a predetermined timing, or threshold point), up to whichit may be more advantageous (e.g., more fuel economical) to use sparkretard, and beyond which it may be more advantageous to inject a knockcontrol fluid to address engine knock. As shown in FIGS. 2-5, based on adriver-selected cost function, a controller may adjust usage of sparkretard and usage of direct injected and/or port injected fuels, or knockcontrol fluids, to address knock. The usage may be further based on acombination of the inherent octane content, dilution effect, and chargecooling effect of the available knock control fluid(s), for example, asinferred from a composition (e.g., molar or volumetric) of the injectedknock control fluid. As shown in FIGS. 7-8, at selected engine operatingconditions (such as speed-load conditions), engine limitations (such astorque, temperature, and emissions limitations) may be determined, andthe predetermined timing may be further adjusted accordingly. As shownin FIG. 9, in response to knocking, the controller may use spark retardup to the predetermined timing to address the knock, after which, thecontroller may use the injection of a knock control fluid to addressknock. As shown in FIGS. 10-11, the adjustments between use of sparkretard and knock control fluid injection may also be based on the amountof the injected knock control fluid, as compared to pulse widthinjection limitations of the injector. As shown in FIGS. 6 and 12,additional engine adjustments may be performed based on the dilutioneffect of the injected knock control fluid so as to better coordinatethe engine dilution advantages and knock suppressing advantages of theinjected fluid. Further, as shown in FIG. 13, throttle adjustments maybe made based on a timing of the direct injection relative to intakevalve closing, so as to better compensate for torque transients. In thisway, by improving the use of spark retard and injection of fuel or knockcontrol fluid in addressing knock, knock control fluid may be used morejudiciously while engine performance is improved.

FIG. 1 depicts an example embodiment of a combustion chamber or cylinderof internal combustion engine 10. Engine 10 may receive controlparameters from a control system including controller 12 and input froma vehicle operator 130 via an input device 132. In this example, inputdevice 132 includes an accelerator pedal and a pedal position sensor 134for generating a proportional pedal position signal PP. Cylinder (hereinalso “combustion chamber’) 14 of engine 10 may include combustionchamber walls 136 with piston 138 positioned therein. Piston 138 may becoupled to crankshaft 140 so that reciprocating motion of the piston istranslated into rotational motion of the crankshaft. Crankshaft 140 maybe coupled to at least one drive wheel of the passenger vehicle via atransmission system. Further, a starter motor may be coupled tocrankshaft 140 via a flywheel to enable a starting operation of engine10.

Cylinder 14 can receive intake air via a series of intake air passages142, 144, and 146. Intake air passage 146 may communicate with othercylinders of engine 10 in addition to cylinder 14. In some embodiments,one or more of the intake passages may include a boosting device such asa turbocharger or a supercharger. For example, FIG. 1 shows engine 10configured with a turbocharger including a compressor 174 arrangedbetween intake passages 142 and 144, and an exhaust turbine 176 arrangedalong exhaust passage 148. Compressor 174 may be at least partiallypowered by exhaust turbine 176 via a shaft 180 where the boosting deviceis configured as a turbocharger. However, in other examples, such aswhere engine 10 is provided with a supercharger, exhaust turbine 176 maybe optionally omitted, where compressor 174 may be powered by mechanicalinput from a motor or the engine. A throttle 20 including a throttleplate 164 may be provided along an intake passage of the engine forvarying the flow rate and/or pressure of intake air provided to theengine cylinders. For example, throttle 20 may be disposed downstream ofcompressor 174 as shown in FIG. 1, or alternatively may be providedupstream of compressor 174.

Exhaust passage 148 may receive exhaust gases from other cylinders ofengine 10 in addition to cylinder 14. Exhaust gas sensor 128 is showncoupled to exhaust passage 148 upstream of emission control device 178.Sensor 128 may be selected from among various suitable sensors forproviding an indication of exhaust gas air/fuel ratio such as a linearoxygen sensor or UEGO (universal or wide-range exhaust gas oxygen), atwo-state oxygen sensor or EGO (as depicted), a HEGO (heated EGO), aNOx, HC, or CO sensor, for example. Emission control device 178 may be athree way catalyst (TWC), NOx trap, various other emission controldevices, or combinations thereof.

Exhaust temperature may be measured by one or more temperature sensors(not shown) located in exhaust passage 148. Alternatively, exhausttemperature may be inferred based on engine operating conditions such asspeed, load, air-fuel ratio (AFR), spark retard, etc. Further, exhausttemperature may be computed by one or more exhaust gas sensors 128. Itmay be appreciated that the exhaust gas temperature may alternatively beestimated by any combination of temperature estimation methods listedherein.

Each cylinder of engine 10 may include one or more intake valves and oneor more exhaust valves. For example, cylinder 14 is shown including atleast one intake poppet valve 150 and at least one exhaust poppet valve156 located at an upper region of cylinder 14. In some embodiments, eachcylinder of engine 10, including cylinder 14, may include at least twointake poppet valves and at least two exhaust poppet valves located atan upper region of the cylinder.

Intake valve 150 may be controlled by controller 12 by cam actuation viacam actuation system 151. Similarly, exhaust valve 156 may be controlledby controller 12 via cam actuation system 153. Cam actuation systems 151and 153 may each include one or more cams, and may utilize one or moreof cam profile switching (CPS), variable cam timing (VCT), variablevalve timing (VVT) and/or variable valve lift (VVL) systems that may beoperated by controller 12 to vary valve operation. The operation ofintake valve 150 and exhaust valve 156 may be determined by valveposition sensors (not shown) and/or camshaft position sensors 155 and157, respectively. In alternative embodiments, the intake and/or exhaustvalve may be controlled by electric valve actuation. For example,cylinder 14 may alternatively include an intake valve controlled viaelectric valve actuation and an exhaust valve controlled via camactuation including CPS and/or VCT systems. In still other embodiments,the intake and exhaust valves may be controlled by a common valveactuator or actuation system, or a variable valve timing actuator oractuation system. As elaborated with reference to FIGS. 6 and 12, a camtiming may be adjusted (by advancing or retarding the VCT system) toadjust an engine dilution in coordination with an EGR flow and/or adirect injection of a knock control fluid, thereby reducing EGRtransients and improving engine performance.

Cylinder 14 can have a compression ratio, which is the ratio of volumeswhen piston 138 is at bottom center to top center. Conventionally, thecompression ratio is in the range of 9:1 to 10:1. However, in someexamples where different fuels are used, the compression ratio may beincreased. This may happen, for example, when higher octane fuels orfuels with higher latent enthalpy of vaporization are used. Thecompression ratio may also be increased if direct injection is used dueto its effect on engine knock.

In some embodiments, each cylinder of engine 10 may include a spark plug192 for initiating combustion. Ignition system 190 can provide anignition spark to combustion chamber 14 via spark plug 192 in responseto spark advance signal SA from controller 12, under select operatingmodes. However, in some embodiments, spark plug 192 may be omitted, suchas where engine 10 may initiate combustion by auto-ignition or byinjection of fuel as may be the case with some diesel engines.

In some embodiments, each cylinder of engine 10 may be configured withone or more injectors for providing a knock control fluid thereto. Insome embodiments, the knock control fluid may be a fuel, wherein theinjector is also referred to as a fuel injector. As a non-limitingexample, cylinder 14 is shown including one fuel injector 166. Fuelinjector 166 is shown coupled directly to cylinder 14 for injecting fueldirectly therein in proportion to the pulse width of signal FPW receivedfrom controller 12 via electronic driver 168. In this manner, fuelinjector 166 provides what is known as direct injection (hereafter alsoreferred to as “DI”) of fuel into combustion cylinder 14. While FIG. 1shows injector 166 as a side injector, it may also be located overheadof the piston, such as near the position of spark plug 192. Such aposition may improve mixing and combustion when operating the enginewith an alcohol-based fuel due to the lower volatility of somealcohol-based fuels. Alternatively, the injector may be located overheadand near the intake valve to improve mixing. Fuel may be delivered tofuel injector 166 from a high pressure fuel system 8 including fueltanks, fuel pumps, and a fuel rail. Alternatively, fuel may be deliveredby a single stage fuel pump at lower pressure, in which case the timingof the direct fuel injection may be more limited during the compressionstroke than if a high pressure fuel system is used. Further, while notshown, the fuel tanks may have a pressure transducer providing a signalto controller 12. It will be appreciated that, in an alternateembodiment, injector 166 may be a port injector providing fuel into theintake port upstream of cylinder 14.

It will also be appreciated that while in one embodiment, the engine maybe operated by injecting the variable fuel or knock control fluid blendvia a single direct injector; in alternate embodiments, the engine maybe operated by using two injectors (a direct injector 166 and a portinjector) and varying a relative amount of injection from each injector.

Fuel may be delivered by the injector to the cylinder during a singlecycle of the cylinder. Further, the distribution and/or relative amountof fuel or knock control fluid delivered from the injector may vary withoperating conditions, such as aircharge temperature, as described hereinbelow. Furthermore, for a single combustion event, multiple injectionsof the delivered fuel may be performed per cycle. The multipleinjections may be performed during the compression stroke, intakestroke, or any appropriate combination thereof.

As described above, FIG. 1 shows only one cylinder of a multi-cylinderengine. As such each cylinder may similarly include its own set ofintake/exhaust valves, fuel injector(s), spark plug, etc.

Fuel tanks in fuel system 8 may hold fuel or knock control fluids withdifferent qualities, such as different compositions. These differencesmay include different alcohol content, different water content,different octane, different heat of vaporizations, different fuelblends, different water contents, and/or combinations thereof etc. Inone example, knock control fluids with different alcohol contents couldinclude one fuel being gasoline and the other being ethanol or methanol.In another example, the engine may use gasoline as a first substance andan alcohol containing fuel blend such as E85 (which is approximately 85%ethanol and 15% gasoline) or M85 (which is approximately 85% methanoland 15% gasoline) as a second substance. Other alcohol containing fuelscould be a mixture of alcohol and water, a mixture of alcohol, water andgasoline etc. In still another example, both fuels may be alcohol blendswherein the first fuel may be a gasoline alcohol blend with a lowerratio of alcohol than a gasoline alcohol blend of a second fuel with agreater ratio of alcohol, such as E10 (which is approximately 10%ethanol) as a first fuel and E85 (which is approximately 85% ethanol) asa second fuel. Additionally, the first and second fuels may also differin other fuel qualities such as a difference in temperature, viscosity,octane number, latent enthalpy of vaporization etc.

Moreover, fuel characteristics of the fuel or knock control fluid storedin the fuel tank may vary frequently. In one example, a driver mayrefill the fuel tank with E85 one day, and E10 the next, and E50 thenext. The day to day variations in tank refilling can thus result infrequently varying fuel compositions, thereby affecting the fuelcomposition delivered by injector 166.

While not shown, it will be appreciated that engine may further includeone or more exhaust gas recirculation passages for diverting at least aportion of exhaust gas from the engine exhaust to the engine intake. Assuch, by recirculating some exhaust gas, an engine dilution may beaffected which may improve engine performance by reducing engine knock,peak cylinder combustion temperatures and pressures, throttling losses,and NOx emissions. The one or more EGR passages may include an LP-EGRpassage coupled between the engine intake upstream of the turbochargercompressor and the engine exhaust downstream of the turbine, andconfigured to provide low pressure (LP) EGR. The one or more EGRpassages may further include an HP-EGR passage coupled between theengine intake downstream of the compressor and the engine exhaustupstream of the turbine, and configured to provide high pressure (HP)EGR. In one example, an HP-EGR flow may be provided under conditionssuch as the absence of boost provided by the turbocharger, while anLP-EGR flow may be provided during conditions such as in the presence ofturbocharger boost and/or when an exhaust gas temperature is above athreshold. The LP-EGR flow through the LP-EGR passage may be adjustedvia an LP-EGR valve while the HP-EGR flow through the HP-EGR passage maybe adjusted via an HP-EGR valve (not shown).

Controller 12 is shown in FIG. 1 as a microcomputer, includingmicroprocessor unit 106, input/output ports 108, an electronic storagemedium for executable programs and calibration values shown as read onlymemory chip 110 in this particular example, random access memory 112,keep alive memory 114, and a data bus. Controller 12 may receive varioussignals from sensors coupled to engine 10, in addition to those signalspreviously discussed, including measurement of inducted mass air flow(MAF) from mass air flow sensor 122; engine coolant temperature (ECT)from temperature sensor 116 coupled to cooling sleeve 118; a profileignition pickup signal (PIP) from Hall effect sensor 120 (or other type)coupled to crankshaft 140; throttle position (TP) from a throttleposition sensor; and manifold absolute pressure signal (MAP) from sensor124. Engine speed signal, RPM, may be generated by controller 12 fromsignal PIP. Manifold pressure signal MAP from a manifold pressure sensormay be used to provide an indication of vacuum, or pressure, in theintake manifold. Still other sensors may include fuel level sensors andfuel composition sensors coupled to the fuel tank(s) of the fuel system.

Storage medium read-only memory 110 can be programmed with computerreadable data representing instructions executable by processor 106 forperforming the methods described below as well as other variants thatare anticipated but not specifically listed.

During selected engine operating conditions, such as at low enginespeeds and under high load conditions, engine knocking may occur. In oneexample, engine knocking may be addressed by retarding the ignitionspark timing, herein also referred to as spark retard. By retarding theignition spark timing from MBT, cylinder peak pressure and temperaturemay be reduced, thereby reducing the occurrence of knock. However,retarding spark from MBT also reduces engine thermal efficiency andtorque output. Consequently, to meet the driver requested torque whenspark is retarded, air and fuel flow may be increased to compensate forthe torque loss. Thus, the additional air and fuel compensation resultin reduced fuel economy. The resultant fuel economy penalty, SPARK_(FE)_(—) _(LOSS), may be computed as follows,

$\begin{matrix}{{SPARK}_{{FE}\;\_\;{LOSS}} = {\frac{1}{TR} - 1}} & (1)\end{matrix}$where TR is the torque ratio. The change in fuel economy loss isillustrated in map 200 of FIG. 2 by curve 202. As shown by curve 204,the torque ratio is highest when spark is at MBT, but decreases as thespark is retarded.

Instead of retarding spark, engine knock may be addressed by injecting aknock control fluid into the cylinder. The knock control fluid may be afuel with a high effective octane content, such as an ethanol fuel. Assuch, the effective octane content of an injected fuel may be composedof various components representing various knock mitigatingcharacteristics of the fuel, such as a combination of the inherentoctane of the fluid, a dilution effect of the fluid, and an evaporationeffect of the fluid. Thus, for example, an ethanol fuel blend (such asE85) may be directly injected into the cylinder to take advantage of theinherently high octane number of the fuel (inherent fuel octanecomponent), and the charge cooling effect of the ethanol fuel(evaporative octane component). However, due to the smaller heat ofcombustion (lower heating value, LHV) of ethanol as compared togasoline, a larger volume of fuel may have to be combusted to achievethe same energy output. Consequently, there is a reduction in volumetricfuel economy (miles per gallon), despite the improved thermal efficiencyfrom operating closer to MBT spark timing. The resultant fuel economypenalty, ETHF_(FE) _(—) _(LOSS), may be computed as follows,

$\begin{matrix}{{ETH}_{{FE}\;\_\;{LOSS}} = {E.D.( {1 - \frac{\rho_{ETH} \cdot {LHV}_{ETH}}{\rho_{GAS} \cdot {LHV}_{GAS}}} )}} & (2)\end{matrix}$

where E is the mass percentage ethanol content in the directly injectedfuel, D is the mass percentage of directly injected fuel required tomitigate knock, LHV_(ETH) and LHV_(GAS) are the lower heating values ofthe fuels, and ρ_(ETH) and ρ_(GAS) are the densities of the fuels.

Under knock conditions, a controller may determine whether to retardspark by a required amount and accept the thermal efficiency and fueleconomy loss associated with that amount of spark retard, or whether toleave spark at MBT and direct inject a required amount of knock controlfluid (such as, the injection of an ethanol fuel) and accept thevolumetric fuel economy loss associated with the ethanol injection. Forexample, an engine controller may be configured to compare the fueleconomy penalties from the direct injection of an ethanol fuel (such asE85) with the fuel economy penalty from spark retard as follows:SPARK_(FE) _(—) _(LOSS)−ETH_(FE) _(—) _(LOSS)  (3)

In one example, a map such as map 300 of FIG. 3 may be employed tocompare the fuel economy loss from retarding spark (curve 302) with thefuel economy loss from the ethanol injection (curve 304). Based upon thecomparison, a timing, or threshold point 306, may be determined. Assuch, threshold point 306 (herein also referred to as break-even pointor switch point) may represent a predetermined amount of retard, orpredetermined timing (such as, in crank angles degrees or degrees ofspark retard) after which increasing injection of the ethanol fuel mayprovide a fuel economy advantage over retarding spark, and before whichretarding spark may provide a fuel economy advantage over increasinginjection of the ethanol fuel, when addressing engine knock. Thus, inresponse to engine knock, an engine controller may first retard ignitionspark timing up to the predetermined amount of retard. After theignition spark timing reaches the predetermined timing, the controllermay increase an amount of knock control fluid (or fuel) directlyinjected in to the cylinder to suppress the engine knock, whilemaintaining the spark timing at the predetermined amount of retard (thatis, at the predetermined timing). That is, use of spark retard andincreasing direct injection of a knock control fluid may be switched atthis point.

As such, the predetermined timing may be based on engine operatingconditions (such as an engine speed and load condition) and furtherbased on an operator selected cost function. As elaborated above, theseselected cost functions may include at least one of fuel economy, CO₂emissions, and price effectiveness.

The predetermined timing may be further adjusted based on the effectiveoctane content of the injected fuel. As such, the injected knock controlfluid may include one or more of gasoline, ethanol, methanol, windshieldwiper fluid, other alcohols, water, and combinations thereof. In oneexample, where the direct injected fuel is an ethanol fuel blend, theeffective octane content of the injected fluid may be based on thealcohol content of the fuel, and thus the threshold point may vary basedon the alcohol content of the fluid. For example, the predeterminedtiming may be retarded from MBT as the alcohol content of the injectedfuel increases. Thus, an ethanol fuel blend with a lower amount ofethanol (such as E10, which has approximately 10% ethanol) may have alower threshold point (that is, a relatively lower amount of retard)that an ethanol fuel blend with a larger amount of ethanol (such as E85,which has approximately 85% ethanol).

In one example, where the ethanol fuel is E85, and the selected costfunction is volumetric fuel economy (miles per gallon), thepredetermined timing (306) may be 11 degrees of spark retard. Herein,during knocking conditions, as the octane requirement to addressknocking increases, spark retard may be employed up to 11 degrees ofspark retard since the thermal efficiency loss associated with the sparkretard is lower than the volumetric fuel economy loss associated withE85 up to this point. However, after spark has been retarded up to 11degrees of spark retard, increasing injection of E85 may provide lowerfuel economy loss than spark retard. Consequently, to address furtherknocking, spark ignition timing may be held at 11 degrees retarded fromMBT while an amount of E85 injected is increased to fulfill the knockaddressing requirement.

While the above example uses volumetric fuel economy as the costfunction in determining the predetermined amount of retard foraddressing engine knock, it will be appreciated that in alternateexamples, other cost functions may be used. Alternate cost functions mayinclude, for example, exhaust emissions (such as, CO₂ emissions) andprice effectiveness (such as, cost of operation in miles per dollar). Inone example, where the cost function is price effectiveness, fuel pricesof the injected fluid may be taken into consideration. Thus, a cost lossresulting from an ethanol fuel injection, ETH_(DOLLAR) _(—) _(LOSS)) maybe computed as follows,

$\begin{matrix}{{ETH}_{{DOLLAR}\;\_\;{LOSS}} = {E.D.( {1 - \frac{\rho_{ETH} \cdot {LHV}_{ETH} \cdot \$_{GAS}}{\rho_{GAS} \cdot {LHV}_{GAS} \cdot \$_{ETH}}} )}} & (4)\end{matrix}$

where $_(GAS) and $_(ETH) are the fuel prices per unit volume, LHV_(ETH)and LHV_(GAS) are the lower heating values for the fuels, and ρ_(ETH)and ρ_(GAS) are the densities for the fuels.

In another example, where the cost function is CO₂ emissions, CO₂ lossesresulting from an ethanol fuel injection, ETH_(CO2) _(—) _(LOSS), may becomputed as follows,

$\begin{matrix}{{ETH}_{{CO}\; 2\;\_\;{LOSS}} = ( {1 - \frac{C_{GAS}}{E.C_{ETH}}} )} & (5)\end{matrix}$

where C_(GAS) and C_(ETH) are the amounts of CO₂ produced by each fuelin kg of CO₂ produced per GJ of energy released by the fuel. This CO₂cost function can be calculated in various ways, for example as tailpipetotal CO₂ emissions, tailpipe fossil-derived CO₂ emissions, or full fuellife-cycle (well-to-wheels) CO₂ emissions.

Thus, based on the driver-selected cost function, in response to engineknocking, an engine controller may determine whether to use spark retardor knock control fluid injection (for example, of an ethanol fuel) uponcomparing the cost function loss related to the spark retard with theethanol direct injection. That is, when the cost function is priceeffectiveness, a threshold point may be determined as follows:SPARK_(DOLLAR) _(—) _(LOSS)−ETH_(DOLLAR) _(—) _(LOSS)  (6)Similarly, when the cost function is CO₂ emissions, a threshold pointmay be determined as follows:SPARK_(CO2) _(—) _(LOSS)−ETH_(CO2) _(—) _(LOSS)  (7)Generalized, the cost function loss comparison may be determined asfollows:SPARK_(COSTFN) _(—) _(LOSS)−ETH_(COSTFN) _(—) _(LOSS)  (8)

FIG. 4 shows a map 400 of curves generated from expressions (3), (6),(7) and (8). Specifically, map 400 depicts spark retard from MBT on thex-axis and cost function loss comparisons (that is, a difference betweenloss due to spark retard and loss due to ethanol fuel injection for theselected cost function, in percentage) on the y-axis. Curve 406 (dashedline) depicts a comparison of losses when the cost function isvolumetric fuel economy, curve 404 (dashed and dotted line) depicts acomparison of losses when the cost function is CO₂ emission, and curve402 (solid line) depicts a comparison of losses when the cost functionis price effectiveness.

In each case, a corresponding predetermined amount of retard orpredetermined timing (or threshold point) may be determined where thecurve crosses zero. Thus, in the case of curve 404, the threshold pointoccurs at 408, while for curve 406, the threshold point occurs at 410,wherein below the threshold point, it may be more advantageous to retardspark, while above the threshold point, it may be more advantageous tohold spark retard and increase injection of the ethanol fuel. In thecase that a curve is always above zero, for example as shown withreference to curve 402, it may always be more advantageous to directinject the ethanol fuel in lieu of retarding spark.

While the examples of FIGS. 3-4 are depicted with reference to a directinjection of the ethanol fuel E85, it will be appreciated that this isnot meant in a limiting sense, and that in alternate examples, otherknock control fluids may be used. These may include, for example,various alcohol fuel blends with higher or lower alcohol content orfluids or fuel blends with different inherent octane, dilution, orevaporation properties, CNG (compressed natural gas), water, methanol,washer fluid (which is a mixture of approximately 60% water and 40%methanol), etc.

As such, in addition to the predetermined amount of retard, an amount ofknock control fluid direct injected into a cylinder to address knock mayalso be adjusted based on the effective octane content of the injectedfluid (or fuel). For example, the adjustment may include decreasing anamount of knock control fluid direct injected as the effective octanecontent of the fluid increases. As previously mentioned, the effectiveoctane content of a given fluid may be a combination of the fluid'sinherent octane content (or octane number), a dilution effect of thefluid (based on the inert content of the fluid, such as water), and anevaporation effect of the fluid (based on the heat of vaporization ofthe fluid). In one example, where the injected fluid is CNG, theeffective octane content of the fuel may be based on the CNG fuel'soctane number only since CNG may have substantially no charge coolingeffect (that is, no evaporative octane component), or dilution effect(that is, no inert component). In another example, where the injectedfluid is an ethanol fuel blend, the effective octane content of the fuelmay be based on the fuel's inherent octane component as well as anevaporative octane component, due to the charge cooling effect ofethanol, but there may be no dilution effect octane component. In stillanother example, where the injected fluid is water, the effective octanecontent of the fluid may be based on the dilution effect and chargecooling effect of water only. In one example, the octane content of theinjected fluid may be based on the molar composition of the fluid. Thus,the predetermined timing and amount of fuel direct injected may beadjusted based on the molar composition of the injected fuel. However,in an alternate example, the octane content of the injected fluid may bebased on the volumetric composition of the fluid.

The inherent octane component of a fuel may be rated in terms of aresearch octane number (RON) and/or a motor octane number (MON). In thecase of fuel blends, small molecular weight alcohols, such as ethanoland methanol (which have higher RON and MON values) are added togasoline to improve the RON value of the gasoline fuel. The addition ofeven a small amount of alcohol (for example, 10% by volume) can resultin a large, and non-linear, increase in the RON value of the blendedfuel, making a determination of the change in RON value for the gasolinefuel due to the addition of the alcohol complex. In some cases, a“blending RON (bRON)” value may be used to describe the effects of theaddition of small amounts of alcohol to gasoline in blended fuels. ThebRON value may be calculated based on the volumetric composition ofalcohol and gasoline in the blend as follows:RON_(blend)=(1−X _(v,alc))·RON_(base)+(X _(v,alc))·bRON_(v,alc)  (9)

where X_(v,alc) is the volume fraction of alcohol in the fuel blend,RON_(blend) is the RON of the alcohol-gasoline fuel blend, RON_(base) isthe RON of the base gasoline, and bRON_(v,alc) is the blending RON ofalcohol in base gasoline based on volumetric content. However, since thebRON value depends on the concentration of alcohol added to the basegasoline, the RON of the base gasoline, and the hydrocarbon compositionof the base gasoline, there may be no single bRON value for a givenalcohol, thereby limiting the utility of the bRON approach.

In another approach, the inherent octane component of a blended fuel maybe calculated based on the molar composition of the fuel. In comparisonwith the volumetric composition approach which is based on the volume ofalcohol and gasoline the fuel blend in the liquid state (that is, as itis prepared and typically measured), the molar composition reflects thenumber of molecules of alcohol and gasoline in the blend. As such, themolar composition may be more relevant to describing the gas-phasechemical reactions that occur with the vaporized fuel in the enginecylinder. Further, in the gaseous state, the volumetric composition maybe approximately equal to the molar composition. The molar compositionof a fuel blend may be calculated similar to the volumetric composition(as described in equation 9) except that the alcohol content iscalculated on a molar basis (as described below in equation 10) usingthe density and molecular weight of the alcohol (that is, known physicalproperties of the alcohol) and the density and average molecular weightof the gasoline (as measured or estimated). Since the density andmolecular weight of gasoline do not have much variance for commercialgasoline, estimated values may be sufficiently accurate for suchcalculations. Thus, the bRON value for a fuel blend may be calculatedbased on the molar composition of alcohol and gasoline in the blend asfollows:

$\begin{matrix}{{RON}_{blend} = {{( {1 - X_{m,{alc}}} ) \cdot {RON}_{base}} + {( X_{m,{alc}} ) \cdot {bRON}_{v,{alc}}}}} & (10) \\{X_{m,{alc}} = \frac{X_{v,{alc}}}{X_{v,{alc}} + {( {1 - X_{v,{alc}}} )\;\frac{\rho_{base}M\; W_{alc}}{\rho_{alc}M\; W_{base}}}}} & (11)\end{matrix}$

where X_(m,alc) is the molar fraction of alcohol in the fuel blend,RON_(blend) is the RON of the alcohol-gasoline fuel blend, MW_(base) isthe average molecular weight of the base gasoline, MW_(alc) is themolecular weight of the alcohol, ρ_(base) is the density of the basegasoline, ρ_(alc) is the density of the alcohol, and bRON_(m,alc) is theblending RON of alcohol in base gasoline based on molar content. It willbe appreciated that while equations (9)-(11) are shown in the context ofblending RON values, the same may be applied for RON and MON values. Assuch, a RON value calculated based on the molar composition of a blendedfuel may display a substantially linear relationship with alcoholcontent of the fuel. Consequently, blending RON values calculated on amolar basis may show little to no dependence on alcohol concentration inthe fuel, or on the RON of the base gasoline. Additionally, there may beconsiderably less variation in the molar blending RON value of a blendedfuel as compared to its volumetric blending RON value. Further, theresulting molar blending RON value of an ethanol-gasoline fuel blend maybe substantially equal to the blending RON value for pure ethanol, whilethe molar blending RON value of a methanol-gasoline fuel blend may besubstantially equal to the blending RON value for pure methanol.

A simplified formulation for estimating RON, or MON, for alcoholaddition to a gasoline composition may be determined as follows:

$\begin{matrix}{{RON}_{blend} = {{( {1 - X_{m,{alc}}} ) \cdot {RON}_{base}} + {( X_{m,{alc}} ) \cdot {RON}_{alc}}}} & (12) \\{X_{m,{alc}} = \frac{X_{v,{alc}}}{1 + {R_{ga}( {{1/X_{v,{alc}}} - 1} )}}} & (13)\end{matrix}$

where X_(m,alc) is the molar fraction of alcohol in the fuel blend,X_(v,alc) is the volume fraction of alcohol in the fuel blend,RON_(blend) is the RON of the alcohol-gasoline fuel blend, RON_(base) isthe RON of the base gasoline, RON_(alc) is the RON of the pure alcohol(e.g., 109 for ethanol and methanol), and R_(ga) is the alcohol-specificliquid molar volume ratio which incorporates the molecular weights anddensities of the alcohol and typical gasoline (e.g., 0.400 for ethanolor 0.275 for methanol). Alternatively, equations (12) and (13) may becombined as follows:

$\begin{matrix}{{RON}_{blend} = {{\lbrack {1 - \frac{1}{1 + {R_{ga}( {{1/X_{v,{alc}}} - 1} )}}} \rbrack \cdot {RON}_{base}} + {\lbrack {1 - \frac{X_{v,{alc}}}{1 + {R_{ga}( {{1/X_{v,{alc}}} - 1} )}}} \rbrack \cdot {RON}_{alc}}}} & (14)\end{matrix}$

Thus, in one example, such an approach may be used to determine theinherent octane component (and consequently the effective octanecontent) of a blended fuel more accurately and reliably, which in turnmay be used to determine the predetermined amount of retard, orpredetermined timing (or threshold point) for usage of spark retard andincreasing direct fuel injection when addressing knock. For example,based on engine operating conditions, a feed-forward likelihood of knockand a RON required to address the knock may be determined. The blendingcalculation may then be used to determine an amount of direct injectedknock control fluid or fuel (for example, ethanol) that may be requiredto meet the RON requirement. In another example, in a flex-fuel vehicleoperating with an ethanol blended fuel, an amount of ethanol in theblended fuel may be estimated from the feedback of an oxygen sensor(such as, an air fuel ratio estimating oxygen sensor). This, in turn,may be used to predict the RON of the fuel and determine the thresholdpoint for spark control and fuel injection. The same may also be used asfeed-forward information to allow adaptation of a spark control strategyafter a refueling event, but before knock sensor feedback is used. Assuch, by adjusting the amount of knock control fluid or fuel directinjected and the predetermined timing or threshold point based on themolar composition of the injected fluid (for example, using the blendedRON octane number of the fuel as determined by a molar approach),calculations of octane benefit from alcohol fuel injection may belinearized and simplified. However, in alternate embodiments, thecalculations may be based on the volumetric composition of the injectedfluid.

In some engines, the fluid injected to address knock may also be one ofa second fluid coupled to a second, auxiliary fluid tank. Example secondknock control fluids may include water, methanol, ethanol, higher octanegasoline, washer fluid, or combinations thereof. In one example, wherethe injected fluid is water, the effective octane content of the fluidmay include an evaporative octane component and a dilution effect octanecomponent only. In another example, where the direct injected fluid iswasher fluid, the effective octane content of the fuel may include aninherent fuel octane component, an evaporative octane component, as wellas a dilution effect octane component. In still other examples whereinEGR is used, only a dilution effect octane component may be included.

As such, to increase the charge cooling effect of the injected knockcontrol fluid, a direct injection of the fluid may be performed inresponse to knocking. Herein, by direct injecting a knock control fluidinto the cylinder, the evaporative cooling of the fluid is enhanced andthe effective octane number of the fluid injected into the cylinder maybe rapidly increased, thereby reducing the knock limit. Based on theamount of knock control fluid direct injected into the cylinder, anamount of fuel that is port injected may be adjusted such that the totalamount of fuel delivered via the fuel injectors satisfies thestoichiometric requirements.

The octane number required to address knock Oct_(req), may be computedas follows,Oct_(req) =X·Oct _(DI)+(1−X)·Oct_(PFI)  (15)

where X is the fraction of knock control fluid direct injected and (1−X)is the fraction of fuel port injected, Oct_(DI) is the effective octaneof the knock control fluid delivered through the direct injectors, andOct_(PFI) is the effective octane of the knock control fluid deliveredthrough the port injectors. Equation (15) may be solved for X todetermine the minimum fraction of direct injected knock control fluidthat may be required to address knock, as follows:

$\begin{matrix}{X = {\frac{{Oct}_{req} - {Oct}_{PFI}}{{Oct}_{DI} - {Oct}_{PFI}}\backslash}} & (16)\end{matrix}$

As previously elaborated, the effective octane content (or number) of aknock control fluid delivered through a direct injector and/or a portinjector may be determined as a combination of the multiple octanecomponents or effects, as follows:Oct_(DI)=Oct_(DI,INH)+Oct_(DI,EVAP)+Oct_(DI,DIL)andOct_(PFI)=Oct_(PFI,INH)+Oct_(PFI,EVAP)+Oct_(PFI,DIL)where Oct_(INH), Oct_(EVAP), and Oct_(DIL) are the inherent,evaporative, and dilution effect octane components for the directinjected (DI prefixed) or port injected (PFI prefixed) knock controlfluids or fuels, and further wherein,Oct_(DI,INH) =A _(DI,INH)(E _(DI))+B _(DI,INH),Oct_(DI,EVAP) =A _(DI,EVAP)(E _(DI))+B _(DI,EVAP),Oct_(DI,DIL) =A _(DI,DIL)(E _(DI))+B _(DI,DIL),Oct_(PFI,INH) =A _(PFI,INH)(E _(PFI))+B _(PFI,INH),Oct_(PFI,EVAP) =A _(PFI,EVAP)(E _(PFI))+B _(PFI,EVAP) andOct_(DI,DIL) =A _(PFI,DIL)(E _(PFI))+B _(PFI,DIL),where A and B are calibratable constants, E_(DI) is the % mass ethanolcontent in the direct injected fuel system, and E_(PFI) is the % massethanol content in the port injected fuel system. By computing theeffective octane content of each fluid, and by solving equations (15)and (16) using those values, the ratio of fluid direct injected and portinjection to address knock may be determined.

In this way, by retarding ignition spark timing up to a predeterminedamount of retard, and increasing an amount of knock control fluiddirectly injected to suppress the engine knock after the ignition sparktiming reaches the predetermined amount of retard, while maintaining thespark timing at the predetermined amount of retard, or predeterminedtiming, the amount of knock control fluid used to mitigate knock may bereduced while the volumetric fuel economy and range of a vehicle may beincreased.

Now turning to FIGS. 5A-B, an example routine 500 is shown for adjustinga predetermined spark timing (or threshold point) up to which sparkretard may be used for addressing knock, and after which an amount of aknock control fluid direct injected into the cylinder may be increasedto address engine knock. By using at least some spark retard to addressknock before increasing an amount of knock control fluid directlyinjected to address knock, substantial volumetric fuel economy benefitsmay be achieved.

At 502, engine operating conditions may be estimated and/or measured.These may include, for example, engine speed, desired torque, MAP, BP,ECT, catalyst temperature, intake air temperature, spark timing, boost,etc. At 504, a feed-forward likelihood of engine knocking may bedetermined based on the estimated engine operating conditions. At 506, adesired engine dilution may be determined based on the estimated engineoperating conditions as well as the determined feed-forward likelihoodof knock. At 508, and as further elaborated with reference to FIG. 6, aknock control fluid injection, VCT and EGR amount may be determined toprovide the desired dilution. Specifically, based at least on thedilution effect of the injected knock control fluid, an amount of enginedilution provided by the injection may be determined, and acorresponding EGR and VCT adjustment may be performed. At 510, an amountof knock control fluid, or fuel, available in the fuel system of theengine may be determined. At 512, and as further elaborated in FIG. 6,the position of a charge motion control valve in the engine intake maybe adjusted to thereby adjust an engine burn rate based on theavailability of knock control fluid in the fuel system. At 514, aneffective octane content of each fuel or knock control fluid in theengine's fuel system may be determined. Specifically, for flex-fuelvehicles, the effective octane content of each of the multiple fuels(such as primary and secondary fuels or knock control fluids) in theengine's fuel system may be determined. As previously elaborated, theeffective octane content of each fuel or knock control fluid may becomputed based on a combination of each fluid's inherent octanecomponent (or fuel octane number), evaporative octane component oreffect and dilution octane component or effect. In one example, one ormore of these components or effects may be based on the alcohol contentof the knock control fluid.

At 516, an operator selected cost function may be determined. The costfunction may include, for example, volumetric fuel economy (miles pergallon), exhaust emissions, miles per dollar, etc. In one example, thevehicle operator may prefer fuel economy over exhaust emissions. Inanother example, the operator preferences may be weighted. For example,a customer may weigh a preference for fuel economy more heavily than apreference for lowest exhaust emissions. Operator preferences and inputsmay be received from the vehicle operator through an interactive displaydevice, such as a display on the vehicle dashboard for interacting withthe vehicle operator, or a control panel on the vehicle display.Alternatively operator cost function preferences may be inferred basedon previous driving behavior, for example, non-aggressive drivers may beassumed to prefer fuel economy.

At 518, based on the operator selected cost function, the estimatedengine operating conditions, the estimated likelihood of engine knock,and the effective octane content of the available fuels or knock controlfluids, a threshold point may be determined. Specifically, thepredetermined timing up to which spark may be retarded (that is, thepredetermined amount of retard) may be determined, and a ratio of usageof spark retard and direct injection of a knock control fluid may bedetermined to cumulatively provide an amount of octane to address theengine knock.

For example, one degree of spark retard may be correlated with a changeof one octane number (1 ON). In another example, where E85 is the directinjected fuel and gasoline is the port injected fuel, the directinjection of E85 may provide a larger octane number change than acorresponding port injection of gasoline. For example, a 0.28% directinjection of E85 may be correlated with a change of 1 ON, while a 100%direct injection of E85 may be correlated with approximately 140 RON ofport injected gasoline.

At 520, it may be determined whether further adjustments to thethreshold point are required. As elaborated with reference to FIGS. 7-8,under some conditions, such as certain engine speed-load conditions,engine limitations may be present that may require the threshold pointto be adjusted such that a larger or smaller amount of spark retard maybe used and accordingly an adjustment to the knock control fluidinjection amount may also be made. For example, under conditions wherethe demanded torque may become (at least transiently) limited, orexhaust temperature may become elevated, or particulate matter emissionsmay become elevated, or engine pre-ignition may occur, etc., thethreshold point may be adjusted. Thus, if it is determined thatthreshold point adjustments are required, then at 522, and as elaboratedin FIG. 8, the routine may adjust the predetermined timing.Specifically, under these conditions, the predetermined threshold may beadjusted (thereby adjusting an amount of spark retard and knock controlfluid injection amount used to mitigate knock), even though there may bea temporary loss in the operator selected cost function due to theadjustment, so as to address the mentioned engine limitations.

In one example, the predetermined timing may be stored in a look-uptable in the controller's memory wherein a predetermined amount of sparkretard and an amount of direct knock control fluid injection may betabulated for a given speed-load condition and a given knock controlfluid. As such, the readings of the look-up table may have beenpreviously computed using maps, such as the maps of FIGS. 3-4, comparingcost function losses due to spark retard with cost function losses fordifferent fuel or fluid combinations. Further adjustments to thepredetermined timing, and the direct injection, may also be tabulatedfor selected engine speed-load windows, such as those depicted in themap of FIG. 7.

If no threshold point adjustments are required at 520, or afterthreshold point adjustments are complete at 522, then at 524, an octanerequired to address the anticipated knock may be computed. As previouslyelaborated, knocking may be addressed by retarding spark and/orincreasing an octane number of the knock control fluid injected in thecylinder. As such, a larger octane number may be required in thecylinder if ignition timing is kept at MBT while a smaller octane numbermay be required in the presence of spark retard. Thus, by adjusting anamount of spark retard and an amount of knock control fluid injectedinto the cylinder, an effective octane of the cylinder may be adjustedto address knock.

At 526, based on the determined (and adjusted) predetermined timing, andfurther based on the octane required to address the anticipated knock,an amount of ignition spark timing retard and a knock control fluidinjection profile may be determined for the engine. The knock controlfluid injection profile may include an amount of a first fuel or knockcontrol fluid to be direct injected and an amount of a second fuel to beport injected into the cylinder. For example, a first amount of fluid(such as a first fuel) direct injected into a cylinder may be based onthe molar (or volumetric) composition of the injected fluid and adilution effect of the injected fluid. Then, a second amount of fluid(such as a second fuel) port injected into the cylinder may be based onthe first amount of fluid injection. At 528, it may be determinedwhether engine knocking is occurring, that is, whether there is feedbackknock. In one example, feedback knock may be determined using a knocksensor coupled to the engine. If no feedback knocking has occurred, thenat 530, the controller may proceed to operate the engine by retardingspark up to the predetermined timing and injecting fuel or knock controlfluid according to the profile previously determined at 526.

If feedback knock is determined, then at 532, it may be determinedwhether spark timing is still before the predetermined timing, that is,if still more spark retard is possible. If yes, that is, if spark retardis not limited, the controller may address the feedback knock bycontinuing to retard the ignition spark timing up to the predeterminedtiming at 534. As such, this may constitute a relatively faster and moreimmediate feedback knock mitigation approach. In one example, once thefeedback knock is addressed, the ignition spark timing may be returnedto the original value (that is, the value responsive to feed-forwardknock likelihood) while a direct fuel injection is slowly phased in. Incomparison, if the settings are after the predetermined timing, that is,if spark retard is limited, then at 536, the controller may address thefeedback knock by maintaining spark retard at the predetermined timingwhile increasing an amount of fuel or knock control fluid that is directinjected into the cylinder. As such, this may constitute a relativelyslower approach to mitigate feedback knock. As further elaborated withreference to FIGS. 10-11, the adjustments may also be made based on theamount of fuel or fluid required to address the knock, and injectorpulse width limitations as compared to that amount. Irrespective of theadjustments made to the predetermined timing, at 538, and as furtherelaborated in FIGS. 6 and 12, dilution limits of the engine may beadjusted based on the predetermined amount of retard (or predeterminedtiming), the amount of knock control fluid/fuel injected, as well as atleast the dilution effect of the injected fluid, to compensate for EGRand torque transients.

In one example, an engine may be configured with direct injection of E85and port injection of gasoline. Based on engine operating conditions, alikelihood of knock may be determined and the predetermined timing maybe determined to be 11 degs of spark retard. To address the feed-forwardanticipated knock, the controller may use a setting of 5 degs of sparkretard and 10% ethanol direct injection. That is, the settings may bebefore the predetermined timing. In response to feedback knock, thecontroller may immediately address the knock by gradually retardingspark ignition timing from 5 degs of spark retard up to thepredetermined timing of 11 degs of spark retard. After the ignitiontiming has reached 11 degs of spark retard, further feedback knock maybe addressed by maintaining spark timing retarded at 11 degs whileincreasing the direct injection of E85 from 10% to 12%. Alternatively,if after using 11 degs of spark retard, the feedback knock is mitigated,the controller may advance the spark timing (that is, reduce the amountof spark retard) to 5 degs of spark retard and increase E85 directinjection to 12%.

In an alternate example, based on engine operating conditions, thefeed-forward likelihood of knock may be addressed by a setting of 11degs of spark retard and 8% ethanol direct injection. That is, thesettings may be beyond the predetermined timing. Herein, in response tofeedback knock, spark retard may be maintained at the predeterminedamount of spark retard, herein 11 degs of retard, while the E85injection is increased from 8% to 12%.

In this way, engine knock may be addressed by retarding spark up to apredetermined timing of a threshold point, and after spark retard hasreached the threshold timing, the controller may address further knockby maintaining spark retard and increasing the injection of a knockcontrol fluid into the cylinder to thereby provide the requiredeffective octane to address engine knock.

An example usage of spark retard and direct injection of an ethanol fuelto address knock is illustrated in map 900 of FIG. 9. Map 900illustrates an octane required to address knock along the x-axis, anamount of ignition spark timing retard along a first y-axis 901 and anamount (in %) of direct injection of an ethanol fuel (herein E85) alonga second y-axis 902. In the depicted example, based on engine operatingconditions, the molar composition and combination of the inherent octaneeffect, dilution effect, and evaporation effect of E85, and the operatorselected cost function of fuel economy, a predetermined timing 904 maybe determined. In this example, predetermined timing 904 may correspondto 11 degs of spark retard. Thus, as the octane required to addressknock increases, spark may be retarded (dashed line 906) to mitigate theknock since the fuel economy loss associated with the thermal efficiencypenalty of spark retard may be less than the volumetric fuel economyloss associated with the decreased energy content of E85. Spark retardmay be used until a predetermined amount of retard, or predeterminedtiming 904, is reached. For example, in response to knocking, spark maybe retarded to 5 degs of spark retard, and as knocking continues, sparkmay be retarded up to 11 degs of spark retard. After predeterminedtiming 904 is reached, the volumetric fuel economy penalty associatedwith E85 may be lower than that associated with the spark retard. Thus,after predetermined timing 904 is reached, spark may be held at 11 degsof retard, and direct injection of E85 may be increased (solid line 908)to fulfill the additional octane requirement. As previously elaborated,the predetermined amount of retard, or predetermined timing and amountof knock control fluid direct injected may be adjusted based on acomposition (e.g., molar or volumetric composition) of the injectedfluid. In the depicted example, the injected fluid is a blended fuelincluding a first fuel and a second fuel. Thus, herein, the molarcomposition of the blended fuel is based on the volumetric fraction,molecular weight, and density of each of the first and second fuels inthe blended fluid. The adjustments may include, for example as shown,retarding the predetermined timing further away from MBT as the molarfraction of alcohol (herein ethanol) in the blended fuel increases.Similarly, the amount of fluid direct injected may be decreased as themolar fraction of alcohol in the blended fluid increases.

Now turning to FIG. 6, an example routine 600 is shown for adjusting oneor more engine operating parameters to thereby adjust an engine dilutionand an engine burn rate. Specifically, an engine operating parameter maybe adjusted to thereby adjust an engine dilution based at least on thedilution effect of a knock control fluid direct injected in response toengine knock, as well as the availability of the knock control fluid.

At 602, a desired percent dilution may be determined based on theestimated engine operating conditions. In one example, a higher percentdilution may be desired as an engine load increases to reduce thelikelihood of engine knock, as well as to improve engine NOx emissions,but subject to a combustion stability limit. As such, an engine dilutionmay be affected by one or more of an amount of EGR, VCT, and thedilution effect properties of a direct injected knock control fluid. At604, an amount of knock control fluid (such as water, ethanol, methanol,alternate fuels, etc.) available in the engine's fuel system may bedetermined. In one example, this may include estimating a fuel levelfrom a fuel level sensor coupled to the fuel tank of the selected fluid.

At 606, it may be determined whether the amount of knock control fluidavailable exceeds a threshold. In one example, the threshold may bebased on an amount of fluid required to address knock (for example, aminimum amount required to address knock). If the amount of fluid isgreater than the threshold, then at 608, a volume of the knock controlfluid required to provide the desired engine dilution may be determined.

At 610, a volume of the knock control fluid required to address afeed-forward likelihood of knock may be determined. As previouslyelaborated, the amount of knock control fluid injected may be based onthe engine speed and load and other operating conditions, and furtherbased on a combination of an inherent octane effect, a dilution effect,and an evaporation effect of the injected fluid. At 612, the maximum ofthe volume required to provide the desired engine dilution and thevolume required to address knock may be injected into the cylinder. At614, a CMCV coupled to the engine intake upstream of the injectors, maybe adjusted (for example, opened) to decrease an engine burn rate whileinjection of the knock control fluid is increased. Specifically, byadjusting (e.g., opening) the CMCV at higher engine loads to decrease anengine burn rate at the higher engine loads, cylinder peak pressure andrate of pressure rise may be reduced to allow engine operation at higherloads. At the same time, knock resulting from the reduced engine burnrate can be advantageously addressed by increasing the direct injectionof the knock control fluid while the CMCV is adjusted to decrease theengine burn rate. As such, while the CMCV is opened and the knockcontrol fluid is injected, ignition spark timing may be maintained at apredetermined amount of spark retard. The predetermined amount of sparkretard may also be based on the engine load, and on the combination ofthe inherent octane effect, dilution effect, and evaporation effect ofthe injected fluid.

In one example, a controller may adjust whether the CMCV is opened athigh engine loads based on the availability of the knock control fluid.For example, the adjustment may include opening the CMCV while operatingthe engine at high engine loads if the availability of the knock controlfluid (for example, as inferred from a fuel level) exceeds a threshold.The adjustment may be further based on the composition of the knockcontrol fluid injected. For example, the CMCV may be opened whileoperating the engine at the higher engine load as the alcohol content ofthe (sufficiently available) knock control fluid increases.

If the amount of knock control fluid available does not exceed thethreshold, then at 618, the available amount of knock control fluid isdirect injected. Then, at 620, the CMCV is adjusted (for example,closed) to increase the engine burn rate since sufficient levels of theknock control fluid to address knock arising from a decrease in engineburn rate is not available. In this way, by adjusting the operation ofthe CMCV, particularly at high engine loads, based on the availabilityof a knock control fluid, an engine burn rate may be coordinated withknock suppressing operations.

At 616 and 622, one or more engine operating parameters may be adjustedbased on the CMCV adjustment and/or the direct injection of knockcontrol fluid so as to maintain engine torque and a desired enginedilution. In one example, one or more of a throttle opening, an amountof EGR, VCT, spark advance, valve lift, and/or engine boost may beadjusted based on the injection. The engine operating parameter may beadjusted based at least on the dilution effect of the injected fluid. Inone example, the engine operating parameter adjusted may include anamount of EGR (or EGR flow). Herein, the adjustment may include, whenthe injected fluid has a higher dilution effect, increasing the amountof direct injected fluid based on the dilution effect of the fluid, anddecreasing the amount of EGR based on the increased amount of injectedfluid. In comparison, when the injected fuel has a lower dilutioneffect, the amount of direct injected fluid may be decreased whilemaintaining the amount of EGR. In this way, the dilution provided by theEGR may be coordinated with the dilution provided by the injected knockcontrol fluid.

In another example, the engine operating parameter adjusted may be avariable cam timing (VCT). Herein, the adjustment may include, when theinjected fluid has a higher dilution effect, increasing the amount ofdirect injected fluid based on the dilution effect of the fluid, andusing less “internal EGR” via VCT based on the increased amount ofinjected fluid. As such, the VCT adjustment required to decrease thisdilution and provide less “internal EGR” may be based on the VCTconfiguration of the engine (e.g., whether it is intake only, exhaustonly, dual equal, or dual independent). Thus, based on the VCT type,under some conditions, VCT may be retarded to decrease the dilution,while under other conditions, based on the VCT type, VCT may be advancedto decrease the dilution. In comparison, when the injected fuel has alower dilution effect, the amount of direct injected fluid may bedecreased while maintaining the “internal EGR” via VCT.

In still another example, the engine operating parameter adjusted may bean amount of valve lift, wherein the adjustment may include, when theinjected fluid has a higher dilution effect, increasing the amount ofdirect injected fluid based on the dilution effect of the fluid, anddecreasing an amount of dilution due to valve lift based on theincreased amount of injected fluid. In comparison, when the injectedfuel has a lower dilution effect, the amount of direct injected fluidmay be decreased while maintaining the amount of dilution due to valvelift. Still other combinations of EGR, VCT, and valve lift adjustmentsmay be possible

An alternate engine operating parameter may also be adjusted. Forexample, an engine boost may also be adjusted based on the CMCVadjustment. In one example, if the amount of knock control fluid levelis lower than the threshold, then the CMCV may be closed) to increaseburn rate and avoid knock) while reducing engine boost. In this case,maximum engine torque or boost may be reduced to avoid excessively highcylinder pressure and/or rate of pressure rise. In another example, ifthe amount of knock control fluid is lower than the threshold, the CMCVmay be closed while retarding spark timing.

At 624, it may be determined whether any changes in the ratio of fuelinjection to spark retard have been made in response to feedback knock,as previously elaborated in FIG. 5B (at 528). If no, the routine mayend. If adjustments were made to the ratio, then at 626, an amount ofknock control fluid injected may be limited, and/or one or more of VCT,EGR, valve lift, spark timing, boost, etc., may be adjusted based on thechange in fuel injection to spark retard ratio so as to maintain thedesired engine dilution and torque output.

In this way, by adjusting whether the CMCV is opened at high engineloads based on the availability of a knock control fluid, and byadjusting knock control fluid injection based on the CMCV opening, CMCVoperations may be adjusted based on the availability of a knock controlfluid, while an engine operating parameter, such as boost, is used tocompensate torque transients, and an alternate engine operatingparameter, such as VCT, EGR, or valve lift is used to compensate fordilution transients. Thus, during a first condition, when the amount ofknock control fluid is greater than a threshold, the CMCV is opened athigher engine loads, while increasing injection of the knock controlfluid. In comparison, during a second condition, when the amount ofknock control fluid is lower than the threshold, the CMCV is closed athigher engine loads, while reducing engine boost. Alternatively, theCMCV may be closed and spark timing may be retarded

Now turning to FIG. 7, a map 700 is shown for further adjusting thethreshold point, or predetermined timing between usage of spark retardand direct fuel injection. Specifically, map 700 identifies regions(herein displayed as regions 701-706), based on speed-load windows,wherein the threshold point may be adjusted, with the predeterminedamount of spark retard increased or decreased, and direct injection of afuel or knock control fluid correspondingly decreased or increased, toaddress alternate engine limitations.

In first region 701 of the map, characterized by medium load (BMEP) andmedium speed conditions, the threshold point, as determined in FIGS.5A-B, may remain unadjusted. That is, in region 701, a ratio of sparkretard and fuel injection may be used to address knock based on theengine operating conditions, the octane content of the fuel, and theoperator selected cost function, as elaborated in FIGS. 5A-B.

Region 702 may be characterized by high speed and high load conditions.In this region, the threshold point may be adjusted for exhausttemperature and particulate matter limitations. Specifically, at highload and high speed conditions, exhaust temperatures may be elevated.The use of spark retard under such conditions may lead to additionalunburned fuel in the exhaust which may further elevate the exhausttemperature. Further, this may increase particulate matter emissions. Incomparison, the use of an ethanol fuel injection may provide thebenefits of both the charge cooling effects of ethanol in reducing theelevated exhaust temperatures, as well as lower particulate matteremissions of ethanol fuels (as compared to gasoline). In the case of aboosted engine, reduction of exhaust temperatures may also help toreduce a turbine inlet temperature, thereby reducing turbochargerdurability issues and minimizing enrichment related to elevated turbineinlet temperatures. Thus, in region 702, the threshold point may beadjusted to reduce the predetermined amount of spark retard used toaddress knock, and correspondingly increase the amount of knock controlfluid that is direct injected to address the knock. As such, this maylead to a temporary drop in volumetric fuel economy, however, that maybe accepted in view of the exhaust temperature and particulate matterlimitations.

Region 703 may be characterized by very high speed and load conditions.In this region, the exhaust temperature and particulate matterlimitations may be more limited than those previously discussed forregion 702. Thus, to curb highly elevated exhaust temperatures andparticulate matter emissions, the predetermined amount of spark retardmay be further reduced and a knock control fluid injection may befurther increased. In one example, substantially no spark retard may beused, and knock may be substantially or completely addressed using knockcontrol fluid injection. Further still, the knock may be moreaggressively addressed by at least transiently operating the cylinderswith a rich injection of the knock control fluid.

Region 704 may be characterized by low speed and high load conditions.Under such conditions, the engine may be prone to pre-ignitioncombustion events. In this region, the pre-ignition limitation may beaddressed by adjusting the threshold point such that the predeterminedamount of spark retard used is reduced while an amount of knock controlfluid injection is increased. In one example, substantially no sparkretard and substantially all knock control fluid injection may be usedto reduce the likelihood of pre-ignition.

Region 705 may be characterized by low speed and medium load conditions.Under such conditions, cooled-EGR may be limited. For example, there maybe a delay in attaining the desired amount of cooled-EGR. Herein, thecooled-EGR limitation may be addressed by adjusting the threshold pointsuch that the predetermined amount of spark retard is increased while anamount of knock control fluid injected is decreased. Alternatively, ifspark retard is limited, the injection of a knock control fluid,especially one with a higher dilution effect (such as water), may beincreased. Additionally, multiple compression stroke injections of theknock control fluid may be used for EGR management. Engine dilutionadjustments based on coordination of EGR flow with the direct injectionof a knock control fluid with a high dilution effect (such as water) isfurther elaborated herein with reference to FIG. 12.

Region 706 may be characterized by low speed and low load conditions.Under such conditions, torque may be limited. In particular, duringtip-in (for example, from a light load to a medium load), the use ofspark retard may cause torque transients such that the driver-demandedtorque is not met. Thus, to reduce the occurrence of torque transients,the threshold point may be adjusted such that an amount of spark retardused is decreased while an amount of knock control fluid injection (suchas, an amount of water direct injected) is increased. Additionally,multiple compression stroke injections of the fluid may be used fortorque management. In boosted engines, the use of increased knockcontrol fluid injection may also help to address turbo lag issues. Forexample, the use of increased knock control fluid injection at lowspeed-low load conditions may enable rapid turbocharger boost build-upand improve turbocharger transient torque control.

Now turning to FIG. 8, an example routine 800 is shown for adjusting thethreshold point (that is, predetermined timing) for usage of sparkretard and a direct injection of a knock control fluid based on variousengine operation limitations.

At 802, an amount of spark retard and an amount of knock control fluidinjection may be determined, based on engine operating conditions andthe predetermined threshold point (or predetermined amount of retard),as previously elaborated in FIGS. 5A-B. At 804, it may be determined ifthere are any torque limitations. In one example, torque limitations maybe present at low speed and low load conditions, such as shown in region706 of FIG. 7. At 806, the torque limitations may be addressed byadjusting the threshold point such that an amount of spark retard isreduced while an amount of knock control fluid injection is increased.For example, the ignition spark timing may be advanced towards MBT whenthe engine torque is below a requested (e.g., driver demanded) torque.Additionally, multiple compression stroke fuel injections may be used toaddress torque transients under such conditions. For example, a numberof compression stroke injections may be increased when the engine torqueis below the requested torque.

At 808, it may be determined if there are any exhaust temperaturelimitations. In one example, elevated exhaust temperatures may occur athigh and very high speed and load conditions, such as shown in regions702 and 703 of FIG. 7. Under such conditions, the use of spark retardmay lead to elevated exhaust temperatures. In contrast, a directinjected knock control fluid may provide a charge cooling effect thatreduces knock and spark retard, leading to lower exhaust temperatures.Elevated exhaust temperature issues may also lead to turbocharger issuesdue to elevated turbine inlet temperatures. At 810, the exhausttemperature limitations may be addressed by adjusting the thresholdpoint such that an amount of spark retard is reduced while an amount ofknock control fluid injection is increased. Specifically, ignition sparktiming may be advanced towards MBT as the exhaust temperature exceeds anupper threshold, while the spark timing may be retarded further awayfrom MBT as the exhaust temperature falls below a lower threshold. Undersome conditions, such as at very high speed and load conditions,substantially no spark retard may be used (that is, ignition timing maybe held at MBT) while substantially all the octane requirement may bemet by the knock control fluid injection. In one example, where theinjected fuel is the ethanol fuel E85, the exhaust temperaturelimitations may be addressed by at least transiently running rich on theethanol fuel. Furthermore, the increased direct injection of knockcontrol fluid may be provided using multiple compression strokeinjections.

At 812, it may be determined if there are any particulate matter (PM)limitations. In one example, elevated particulate matter emissions mayoccur at high and very high speed and load conditions, such as shown inregions 702 and 703 of FIG. 7. Under such conditions, the use of sparkretard may increase an amount of unburned fuel in the exhaust, leadingto elevated PM emissions. In contrast, ethanol fuels may inherentlygenerate lower levels of PMs. The PM limitations may be addressed at 810by adjusting the threshold point such that an amount of spark retard isreduced while an amount of knock control fluid injection is increased.Specifically, spark timing may be advanced towards MBT as the exhaustparticulate matter emission level increases (e.g., exceeds a threshold).

At 814, it may be determined if there is a likelihood of pre-ignition.In one example, pre-ignition may occur at low speed and high loadconditions, such as shown in region 704 of FIG. 7. Under suchconditions, the use of spark retard may increase the occurrence ofpre-ignition. In contrast, ethanol fuels may generate a charge coolingeffect that may reduce the occurrence of pre-ignition. Thus, at 810, thepre-ignition limitation may be addressed by adjusting the thresholdpoint such that an amount of spark retard is reduced while an amount ofknock control fluid injection is increased. In one example, thelikelihood of pre-ignition may be inferred from knock intensity. Herein,the adjustment may include advancing the spark timing towards MBT as theknock intensity exceeds a pre-ignition threshold.

At 816, it may be determined if there are cooled-EGR limitations. In oneexample, cooled EGR may become limited at low speed and medium loadconditions, such as shown in region 705 of FIG. 7. Under suchconditions, the injection of a secondary fluid, such as an ethanol fuel,water, or washer fluid, may generate a dilution effect that may rapidlyprovide the desired dilution while the cooled EGR is limited.Specifically, if under the low speed-medium load conditions, the cooledEGR level is not as high as requested, then by injecting a knock controlfluid, the desired dilution may be substantially immediately provided,while the EGR flow is increased. Knock control fluid injectionadjustments in coordination with EGR flow to provide a desired dilutionare further elaborated herein with reference to FIG. 12. Thus, at 818,an amount of spark retard may be increased, if spark retard is notalready limited. However, if spark retard is already limited, then thecooler EGR limitation may be addressed by maintaining spark retard andincreasing an amount of knock control fluid (such as water) that isinjected into the cylinder.

At 820, it may be determined if the engine cooling system is a smartcooling system. As such, smart cooling systems may be configured toprovide a plurality of engine temperature settings, based on a pluralityof engine coolant temperature (ECT) settings. If yes, then at 822, thecontroller may adjust the smart cooling system to operate the enginecooling system with a first, lower engine temperature setting during theignition timing retard (that is, before the threshold point), and with asecond, higher engine temperature setting during the direct injection(that is, after the threshold point). By using a lower ECT setting withthe spark retard and a higher ECT setting with the fuel injection,engine performance may be improved.

At 824, the controller may operate the engine with knock addressed usingspark timing retarded up to the threshold point, and after spark hasbeen retarded up to the threshold point, increasing a direct injectionof a knock control fluid while maintaining spark timing at the thresholdpoint.

Now turning to FIGS. 10 and 11, example adjustments of retardingignition spark timing and increasing direct injection of a knock controlfluid in response to knock are illustrated. Specifically, the examplesillustrate adjustments based on the amount of knock control fluid directinjected as related to the pulse width of the direct injector.

In map 1000 of FIG. 10, changes in spark ignition timing retard (sparkretard) are depicted in graph 1002 while changes in an amount of knockcontrol fluid direct injected are depicted in graph 1004. During a firstcondition, at t1, in response to an indication of knock (depicted by anarrow), an ignition spark timing may be retarded (that is, spark retardmay be increased) up to a predetermined timing 1003 (that is, up to apredetermined amount of retard). At the same time, the amount of knockcontrol fluid directly injected may be maintained. At t2, after theignition spark timing has reached the predetermined amount of retard, orpredetermined timing 1003, spark timing may be maintained at thepredetermined amount of retard, while an amount of knock control fluiddirectly injected to suppress engine knock is increased. As such, theamount of direct injection may be determined based on engine operatingconditions. For example, in the first condition depicted in FIG. 10, theamount of direct injection required to address the knock at t2 may be afirst (higher) amount 1008. Herein, first amount 1008 may be greaterthan the minimum pulse width 1006 of the direct injector. At t3, inresponse to additional knock, the amount of fuel directly injected tosuppress engine knock may be further increased while ignition sparktiming is maintained at the predetermined amount of retard.

Turning to FIG. 11, map 1100 depicts changes in spark ignition timingretard (spark retard) at graph 1102 while changes in an amount of knockcontrol fluid direct injected are depicted in graph 1104. During asecond condition, at t1, in response to the indication of knock, as inthe first condition shown in FIG. 10, ignition spark timing may beretarded (that is, spark retard may be increased) up to predeterminedtiming 1003. At the same time, the amount of knock control fluid directinjected may be maintained. At t2, after the ignition spark timing hasreached predetermined timing 1003, spark timing may be maintained at thepredetermined timing, while an amount of knock control fluid directlyinjected to suppress engine knock is increased. In the second conditiondepicted in FIG. 11, the amount of direct injection required to addressthe knock at t2 may be a second (lower) amount 1108. Herein, secondamount 1108 may be smaller than the minimum pulse width 1006 of thedirect injector. As such, it may not be possible to provide the secondsmaller amount of direct injection that is smaller than the pulse widthof the injector. Thus, at t2, the direct injector may be limited and mayinject an amount corresponding to the minimum pulse width of theinjector. That is, the injector may inject an amount that is greaterthan the amount required to address the knock (that is, greater than1108). Thus, to compensate for the difference, when the requiredinjection amount is lower than the minimum pulse width of the directinjector, spark timing may be advanced from the predetermined amount ofretard while increasing the amount of knock control fluid directlyinjected into the engine. The spark timing advance may be adjusted basedon a difference between the amount of injection required and the pulsewidth of the injector. For example, the amount of spark advance may beincreased, or an amount of spark retard may be decreased, as adifference between the amount of knock control fluid that is required tobe directly injected to address knock and the minimum pulse width of theinjector increases. Then, at t3, in response to additional knock,ignition timing may be retarded again up to the predetermined timing1003. At t4, after ignition timing has reached the predetermined timing,further knock may be addressed by increasing the amount of knock controlfluid directly injected to suppress engine knock while maintainingignition spark timing at the predetermined timing.

Now turning to FIG. 12, map 1200 shows an example adjustment of directinjection of water (or a knock control fluid containing some water orother non-combustible fluid) with EGR flow to provide a desireddilution. By adjusting the direct injection in coordination with EGRflow, a desired dilution may be provided while EGR transient controlproblems are reduced. Map 1200 depicts changes in an amount of waterdirect injected at graph 1202, changes in an EGR flow at 1204, changesin engine dilution at 1206, and changes in VCT at 1208. It will beappreciated that while the depicted example is illustrated using wateras the knock control fluid, in alternate example, the knock controlfluid may be ethanol, methanol, another alcohol, wiper fluid, orcombinations thereof.

Before t1, based on engine operating conditions (such as, an enginespeed and load condition), a desired dilution may be determined. Basedon the desired dilution, an EGR flow, a VCT setting, and a waterinjection amount may be determined. In one example, at t1, a suddenincrease in engine dilution and EGR flow may be requested. The increasein EGR flow may be requested, for example, during a pedal tip-in (whichin turn leads to a throttle tip-in). Accordingly, at t1, an amount ofEGR flow may be increased. In one example, the EGR flow may be an LP-EGRflow received through an LP-EGR passage coupled between the engineintake upstream of a turbocharger compressor and the engine exhaustdownstream of a turbocharger turbine. However, in alternate examples,the EGR flow may be a HP-EGR flow received through an HP-EGR passagecoupled between the engine intake downstream of a turbochargercompressor and the engine exhaust upstream of a turbocharger turbine.The LP-EGR flow may be increased (graph 1204) by the actuation of anLP-EGR valve in the LP-EGR passage. However, there may be a delay fromthe time the LP-EGR valve is actuated and the time that the increasedEGR flow is achieved and received at the cylinder. Specifically, thedelay in mixing of EGR gases with intake air to achieve the desired EGRamount/flow and the arriving of the mixed EGR flow at the cylinder maylead to EGR transients that may transiently degrade engine efficiency.Herein, to compensate for the EGR transients, at t1, during an increasein LP-EGR flow (such as, from a first amount of EGR to a second, higher,amount of EGR), a water injection may be increased to a first waterinjection amount. Herein, the substantially immediate vaporization ofthe direct injected water may provide a substantially immediate dilutioneffect in the cylinder that compensates for the EGR transients and allowthe desired dilution to be substantially immediately provided. Theamount of direct injection may be based on the amount of EGR in the EGRflow. Then, the water injection may be decreased to a second waterinjection amount lower than the first amount. As shown in graph 1202,the rate of increasing the water injection may be faster than the rateof decreasing the water injection. By adjusting and coordinating thewater injection and the EGR flow, the desired dilution may beimmediately provided.

At t2, in response to a decrease in requested dilution, EGR flow (e.g.,LP-EGR flow) may be decreased. In one example, the decrease in LP-EGRflow may be requested during a pedal tip-out. Herein, during thedecrease in LP-EGR flow, water injection may also be immediatelydecreased (to allow an immediate drop in dilution) after which the waterinjection amount may be gradually increased.

In one example, due to knock concerns, it may be desired to keep theamount of water direct injected within an upper threshold 1201 and alower threshold 1203. Thus, during the increase or decrease in LP-EGRflow, a VCT may be adjusted based on the water injection amount andfurther based on the EGR flow. For example, during the decrease inLP-EGR flow initiated at t2, when the water injection amount required issmaller than lower threshold 1203, the water injection amount may onlybe reduced to the lower threshold and held there for an amount of timebetween t2 and t3 (as depicted by dotted segment 1207), while a VCTtiming is retarded (graph 1208) for the same amount of time (between t2and t3). Herein, by adjusting VCT based on the direct injection amount,the water injection may be kept at a threshold required to maintainknock while the desired engine dilution is provided at least partly bythe VCT. In an alternate example (not depicted), during an increase inLP-EGR flow, VCT may be advanced when the water injection amountrequired is greater than the upper threshold. Herein, the waterinjection may be held for an amount of time (e.g., transiently) at theupper threshold amount while VCT is advanced for the same period. Itwill be appreciated that the VCT adjustment used (e.g. VCT retard oradvance) may be based on the VCT type. Thus, when the VCT is a firsttype, VCT advance may be used, and when the VCT is a second type, VCTretard may be used, to achieve the desired dilution effect.

A timing with reference to engine load of the increasing water injectionin response to an increase in EGR flow may be adjusted based on the EGRflow and the engine torque. For example, the adjustment may includeincreasing the water injection at lower engine loads when the EGR flowis below a threshold and the engine torque is lower, and decreasing thewater direct injection as the EGR flow exceeds the threshold. Forexample, as shown at t4, in response to engine load being lower than athreshold, and EGR flow being lower than a threshold, an amount of waterdirect injected may be gradually increased. Herein, at the lower engineload, in anticipation of an increase in engine load (such as, due to asudden tip-in), and in anticipation of EGR transients arising from thedelay in increasing an EGR flow, direct injection of water may beincreased, albeit by a smaller amount, to at least partly provide someof the engine dilution that may be requested during the anticipatedincrease in engine load. In an alternate example (not depicted), athigher engine loads (that is, when engine load is higher than athreshold, and EGR flow is higher than a threshold), a decrease inengine load (such as, due to a sudden tip-out) may be anticipated.Further, in anticipation of EGR transients arising from the delay indecreasing the EGR flow, direct injection of water may be decreased,albeit by a smaller amount, to at least partly reduce some of the enginedilution decrease that may be requested during the anticipated decreasein engine load. In either case, the rate of increasing the waterinjection may be faster than the rate of decreasing the water injectionto also better compensate for EGR transients. Thus, in effect, a loadleveling may be performed in anticipation of load changes.

Herein, the direct injection of water may include an amount of waterthat is direct injected, as well as a rate of the direct injection. Assuch, the amount of direct injection may be based on the amount of EGRin the EGR flow. The water direct injection may also be adjusted basedon the presence of an HP-EGR flow. It will be appreciated that while thedepicted example is described in the context of a water directinjection, this is not meant to be limiting, and that in alternateexamples, the direct injected fluid may a knock control fluid such asethanol, methanol, other alcohols, water, gasoline, wiper fluid, andcombinations thereof. Therein, the amount and timing of the directinjection may be adjusted at least based on the dilution effect of theinjected fluid.

In this way, by better anticipating changes in engine dilution based onengine load conditions, and by adjusting an amount of water directinjected into an engine cylinder in coordination with an EGR flow, EGRtransient control problems may be better anticipated and addressed.Further, by adjusting an operating parameter such as VCT, spark advanceor boost, based on the amount of water injected, knock may be addressedwhile also providing the desired engine dilution.

Now turning to FIG. 13, example adjustments of a direct injectiontiming, in relation to intake valve closing timing (IVC), with throttleadjustments to compensate for torque transients are illustrated.Specifically, an amount of knock control fluid (such as fuel, water,ethanol, etc.) may be direct injected to an engine based on engineoperating conditions while an engine throttle position may be adjustedbased on the knock control fluid injection amount and injection timing.In a non-limiting example, the knock control fluid includes water,though in alternate embodiments, a different knock control fluid may beused. Map 1300 depicts a timing of direct injection of water at graph1301. Specifically, two example injections are depicted at 1302 and1303. As such, each injection timing is illustrated in context of itsrelation to IVC. Corresponding throttle adjustments are depicted ingraph 1304.

At 1302, a first direct injection of water is shown. The direct waterinjection may be adjusted based on one or more of knock, a desiredengine dilution, and EGR transients. As such, the direct water injectionmay include adjustments to a timing and/or an amount of the injection.In the depicted example, the first injection timing may be such thatsubstantially all the water is injected before IVC. Thus, substantiallyall the injected water may vaporize and occupy the space of aircharge inthe cylinder. Herein, to compensate for decreased volumetric efficiencyarising from the cylinder filling effect of the injected water, theengine throttle opening may be adjusted to a first, larger amount, theamount based on the amount and timing of water injected, in order toattain the desired torque. While the depicted example shows the entirefirst injection timing before IVC, in an alternate example, at leastpart of the first injection timing may be before IVC.

In comparison, at 1303, a second direct injection of water is shown. Inthe depicted example, the second injection timing, later than the firstinjection timing, may be such that substantially all the water isinjected after IVC. That is, the second injection timing is moreretarded from IVC than the first injection timing. Thus, at the timethat air is trapped in the cylinder (IVC), a smaller proportion of theinjected water may occupy the space of aircharge in the cylinder,generating less impact on volumetric efficiency. Herein, to attain thedesired torque with higher volumetric efficiency, the engine throttlemay be adjusted to a second, lower opening amount, the amount based onthe amount and timing of the water injection.

The timing and amount of the injected knock control fluid (herein water)may be adjusted with respect to IVC based on engine operatingconditions. The engine operating conditions may include one or more ofknock, desired engine dilution, and EGR transients. Thus, in oneexample, the injection timing may be advanced from IVC when volumetricefficiency is not a constraint, and maximum water vaporization andmixing is desired. In another example, the injection timing may beretarded from IVC as volumetric efficiency becomes a constraint onamount of water injected. In still another example, injection timing maybe retarded from IVC as knocking increases or as the desired enginedilution increases. It will be appreciated that as the timing of theinjection in relation to IVC changes, the time available for watervaporization before IVC may vary, thereby changing the amount of waterthat vaporizes before IVC and occupies the space of aircharge trapped inthe cylinder. As such, the relationship may be linear only on a molarbasis. In any case, based on the expected amount of cylinder filling, athrottle adjustment may be made.

While the depicted example is described in the context of a water directinjection, this is not meant to be limiting, and in alternate examples,the direct injected fluid may a knock control fluid such as ethanol,methanol, other alcohols, water, gasoline, and combinations thereof.Therein, the amount of knock control fluid injected may be adjustedbased on a combination of the inherent octane, dilution effect andevaporation effect of the injected fuel. For example, an amount ofinjected knock control fluid may be decreased as the evaporation effectof the injected fluid increases. In another example, the amount ofinjected fluid may be adjusted based on a molar composition or alcoholcontent of the injected fluid. Additionally therein, the engine throttleposition may be further adjusted based on the dilution effect of theinjected fluid.

While not depicted in FIG. 13, additional adjustments, such as one ormore of an amount of VCT and EGR, may be adjusted responsive to theamount of direct injection, to provide a desired engine dilution. In oneexample, an amount of VCT and/or EGR may be decreased as the amount ofknock control fluid injected increases. In this way, torque and EGRtransients may be better anticipated and addressed.

In this way, by adjusting a threshold point between the use of sparkretard and the direct injection of a knock control fluid, fluid usagemay be more judicious and fuel economy benefits may be achieved. Byadjusting the threshold point based on an alternate cost function, suchas lower operation costs or lower exhaust emissions, engine performancemay be maintained while providing the benefits of the selected costfunction. By coordinating EGR, throttle, VCT, and boost adjustmentsbased on the timing, amount, and nature of an injected knock controlfluid, EGR transients and torque transients may be reduced while knockis addressed.

Note that the example control and estimation routines included hereincan be used with various system configurations. The specific routinesdescribed herein may represent one or more of any number of processingstrategies such as event-driven, interrupt-driven, multi-tasking,multi-threading, and the like. As such, various actions, operations, orfunctions illustrated may be performed in the sequence illustrated, inparallel, or in some cases omitted. Likewise, the order of processing isnot necessarily required to achieve the features and advantages of theexample embodiments described herein, but is provided for ease ofillustration and description. One or more of the illustrated actions,functions, or operations may be repeatedly performed depending on theparticular strategy being used. Further, the described operations,functions, and/or acts may graphically represent code to be programmedinto computer readable storage medium in the control system

It will be appreciated that the configurations and routines disclosedherein are exemplary in nature, and that these specific embodiments arenot to be considered in a limiting sense, because numerous variationsare possible. For example, the above technology can be applied to V-6,I-4, I-6, V-12, opposed 4, and other engine types. The subject matter ofthe present disclosure includes all novel and non-obvious combinationsand sub-combinations of the various systems and configurations, andother features, functions, and/or properties disclosed herein.

The following claims particularly point out certain combinations andsub-combinations regarded as novel and non-obvious. These claims mayrefer to “an” element or “a first” element or the equivalent thereof.Such claims should be understood to include incorporation of one or moresuch elements, neither requiring nor excluding two or more suchelements. Other combinations and sub-combinations of the disclosedfeatures, functions, elements, and/or properties may be claimed throughamendment of the present claims or through presentation of new claims inthis or a related application. Such claims, whether broader, narrower,equal, or different in scope to the original claims, also are regardedas included within the subject matter of the present disclosure.

1. An engine system, comprising: an engine; a direct injector configuredto direct inject fluid into an engine cylinder; a port injectorconfigured to port inject fluid into the engine cylinder; a controlsystem with computer readable instruction for, in response to knock,retarding ignition spark timing up to a predetermined timing; directinjecting a first amount of fluid, the first amount based on a molarcomposition of the injected fluid and a dilution effect of the injectedfluid and an evaporation effect of the injected fluid; port injecting asecond amount of fluid, the second amount based on the first amount; andadjusting an engine dilution based at least on the dilution effect ofthe injected fluid.
 2. The system of claim 1, wherein the predeterminedtiming is based on engine operating conditions at the time of knock, andfurther based on the molar composition of the injected fluid.
 3. Thesystem of claim 2, wherein the injected fluid is a blend of at least twofluids, and wherein the molar composition of the fluid is based on avolumetric and/or molar fraction, molecular weight, and density of eachfluid of the blend.
 4. The system of claim 3, wherein the predeterminedtiming is retarded further away from MBT as a molar fraction of alcoholin the fuel blend increases.
 5. The system of claim 4, wherein the firstamount of fluid direct injected is increased as the molar fraction ofalcohol decreases, and/or as the dilution effect of the injected fluidincreases.
 6. The system of claim 1, wherein adjusting the enginedilution includes, when the injected fluid has a higher dilution effect,increasing the first amount of direct injected fluid while adjusting VCTto decrease dilution; and when the injected fluid has a lower dilutioneffect, decreasing the first amount of direct injected fluid andmaintaining VCT.
 7. The system of claim 1, further comprising an EGRpassage coupled between an engine intake and an engine exhaust, whereinadjusting the engine dilution includes, when the injected fluid has ahigher dilution effect, increasing the first amount of direct injectedfluid while reducing EGR; and when the injected fluid has a lowerdilution effect, decreasing the first amount of direct injected fluidand maintaining EGR.
 8. The system of claim 1, the control systemfurther includes instructions for adjusting an amount of boost based onthe first amount of direct injected fluid.
 9. A method of operating anengine comprising, in response to engine knock, retarding ignition sparktiming by a first amount and direct injecting a second amount of afluid, the first amount of spark retard and the second amount of fluidinjection adjusted based on a combination of inherent octane of thefluid, dilution effect of the fluid, and evaporation effect of thefluid; and adjusting an amount of boost based on the second amount. 10.The method of claim 9, wherein the adjustment includes, increasing thesecond amount of fluid injection and decreasing the first amount ofspark retard as the dilution effect of the injected fluid increases. 11.The method of claim 10, wherein the fluid includes one or more ofethanol, methanol, water, and gasoline.
 12. A method of operating anengine, comprising, in response to engine knock, retarding ignitionspark timing up to a predetermined timing and direct injecting an amountof fluid, the predetermined timing and amount of fluid direct injectedadjusted based on a molar composition of the injected fluid; andadjusting an amount of boost based on the amount of direct injectedfluid.
 13. The method of claim 12, wherein the injected fluid is a blendincluding a first fluid and a second fluid, and wherein the molarcomposition of the blend is based on a molar and/or volumetric fraction,molecular weight, and density of each of the first and second fluids inthe blend.
 14. The method of claim 13, wherein at least one of the firstand second fluid is an alcohol, and wherein the adjustment includesdecreasing the amount of fluid direct injected as the molar fraction ofalcohol in the blended fluid increases.
 15. The method of claim 14,wherein the predetermined timing is retarded further away from MBT asthe molar fraction of alcohol in the blended fuel increases.